﻿using System;
using Autodesk.Revit.DB;

namespace HyCommonTableTool
{
	public struct GridImgInfo
	{
		public string ImageKey
		{
			get
			{
				return this.imageKey;
			}
			set
			{
				this.imageKey = value;
			}
		}

		public XYZ Position
		{
			get
			{
				return this.ptPos;
			}
			set
			{
				this.ptPos = value;
			}
		}

		public double Width
		{
			get
			{
				return this.dWidth;
			}
			set
			{
				this.dWidth = value;
			}
		}

		public double Height
		{
			get
			{
				return this.dHeight;
			}
			set
			{
				this.dHeight = value;
			}
		}

		public int Row
		{
			get
			{
				return this.row;
			}
			set
			{
				this.row = value;
			}
		}

		public int Col
		{
			get
			{
				return this.col;
			}
			set
			{
				this.col = value;
			}
		}

		public GridImgInfo(string imgKey, XYZ imgPos, double imgWidth, double imgHeight, int imgRow, int imgCol)
		{
			this.imageKey = imgKey;
			this.ptPos = imgPos;
			this.dWidth = imgWidth;
			this.dHeight = imgHeight;
			this.row = imgRow;
			this.col = imgCol;
		}

		private string imageKey;

		private XYZ ptPos;

		private double dWidth;

		private double dHeight;

		private int row;

		private int col;
	}
}
